Implementing Term Rewriting by Graph Reduction: Termination of Combined Systems

نویسنده

  • Detlef Plump
چکیده

It is well known that the disjoint union of terminating term rewriting systems does not yield a terminating system in general. We show that this undesirable phenomenon vanishes if one implements term rewriting by graph reduction: given two terminating term rewrite systems 7~o and 7~1, the graph reduction system implementing 7~0 -F T~1 is terminating. In fact, we prove the stronger result that the graph reduction system for the union ~o U T~ 1 is terminating provided that the left-hand sides of ~i have no common function symbols with the right-hand sides of 7~1-i (i = O, 1). The implementation is complete in the sense that it computes a normal form for each term over the signature of R0 u 7~1. 1 I n t r o d u c t i o n The operational semantics of algebraic specification languages are usually based on term rewriting (see, e.g., [BCV 85], [BHK 89], [EM 85], [FG3M 85], [GH 86]). In this context, confluence and termination are particularly relevant properties of term rewriting systems. Hence, when specifications are structured as combinations of smaller subspecifications, the question arises whether these properties are preserved by a given combination mechanism. Recently, research in this direction has been started by,considering the disjoint union T£0 +7~1 of two term rewriting systems 7"£o and 7~1: the rule set of 7£o ~-7~1 is the union of the rules of T~ and T£1 where the function symbols occurring in T~ and 7~1 are disjoint (or are made disjoint by renaming). Toyama [Toy 87a] proves that 7~o + 7~1 is confluent *Work supported by ESPRIT project #390, PROSPECTRA, and by ESPRIT Basic Research Working Group #3264, COMPASS.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

How to Prove Equivalence of Term Rewriting Systems without Induction

A simple method is proposed for testing equivalence in a restricted domain of two given term rewriting systems. By using the Church-Rosser property and the teachability of term rewriting systems, the method allows us to prove equivalence of these systems without the explicit use of induction; this proof usually requires some kind of induction. The method proposed is a general extension of induc...

متن کامل

توسعه روش SL با ترتیب KBO برای اثبات خودکار پایان‌پذیری سیستم بازنویسی ترم - مقاله برگزیده هفدهمین کنفرانس ملی انجمن کامپیوتر ایران

 The term rewriting systems (TRSs) is an abstract model of functional languages. The termination proving of TRSs is necessary for confirming accuracy of functional languages. The semantic labeling (SL) is a complete method for proving termination. The semantic part of SL is given by a quasi-model of the rewrite rules. The most power of SL is related to infinite models that is difficult f...

متن کامل

Simple gap termination for term graph rewriting systems

This paper proves the extension of Kruskal-Friedman theorem, which is an extension of the ordinary Kruskal's theorem with gap-condition, on !-trees (Main theorem 1 in section 3). Based on the theorem, a new termination criteria for cyclic term graph rewriting systems, named simple gap termination (Main theorem 2 in section 4), is proposed where the naive extension of simple termination (based o...

متن کامل

On Proving Termination of Constrained Term Rewrite Systems by Eliminating Edges from Dependency Graphs

In this paper, we propose methods for proving termination of constrained term rewriting systems, where constraints are interpreted by built-in semantics given by users, and rewrite rules are assumed to be sound for the interpretation. To this end, we extend the dependency pair framework for proving termination of unconstrained term rewriting systems to constrained term rewriting systems. Moreov...

متن کامل

Smaran: A Congruence-Closure Based System for Equational Computations

p. 1 Redundancy Criteria for Constrained Completion p. 2 Bi-rewriting, a Term Rewriting Technique for Monotonic Order Relations p. 17 A Case Study of Completion Modulo Distributivity and Abelian Groups p. 32 A Semantic Approach to Order-Sorted Rewriting p. 47 Distributing Equational Theorem Proving p. 62 On the Correctness of a Distributed Memory Grobner Basis Algorithm p. 77 Improving Transfor...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1990